package nongchang.kuaijiecaifu.com.ncapp_android.ui;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.RecyclerView;
import android.widget.TextView;

import java.util.ArrayList;
import java.util.List;

import butterknife.BindView;
import butterknife.ButterKnife;
import ezy.lite.util.UI;
import nongchang.kuaijiecaifu.com.ncapp_android.R;
import nongchang.kuaijiecaifu.com.ncapp_android.common.activity.BaseActivity;
import nongchang.kuaijiecaifu.com.ncapp_android.retrofit.good.Calculate;
import nongchang.kuaijiecaifu.com.ncapp_android.ui.adapter.CalculateAdapter;
import nongchang.kuaijiecaifu.com.ncapp_android.ui.detailfragment.VerticalFragment1;
import nongchang.kuaijiecaifu.com.ncapp_android.ui.detailfragment.VerticalFragment3;
import nongchang.kuaijiecaifu.com.ncapp_android.ui.gamerulefragment.GameRule1Fragment;
import nongchang.kuaijiecaifu.com.ncapp_android.ui.gamerulefragment.GameRule2Fragment;
import nongchang.kuaijiecaifu.com.ncapp_android.ui.widget.DragLayout;


public class HowToCalActivity extends BaseActivity {
    @BindView(R.id.draglayout)
    DragLayout draglayout;
    private GameRule1Fragment fragment1;
    private GameRule2Fragment fragment3;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_how_to_cal);
        setupToolbarWithHome(R.id.toolbar);
        ButterKnife.bind(this);

        fragment1 = new GameRule1Fragment();
        fragment3 = new GameRule2Fragment();
        getSupportFragmentManager().beginTransaction()
                .add(R.id.first, fragment1).add(R.id.second, fragment3)
                .commit();
    }


}
